package com.haikesi.api.devicetype.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
public class DeviceTypeUpdateAlisaVO implements Serializable {

    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value = "Id")
    @NotNull(message = "ID不能为空！")
    private String id;

    @ApiModelProperty(value = "设备别名")
    @NotNull(message = "设备别名不能为空！")
    private String typeAlias;

}